module.exports = {
	table: 'opendb-app-list',
	fields: [
		{
			type: 'string',
			key: 'appid',
			comment: 'appid',
		},
		{
			type: 'string',
			key: 'name',
			comment: '名称',
		},
		{
			type: 'string',
			key: 'description',
			comment: '应用描述',
		},
		{
			type: 'string',
			key: 'creator_uid',
			comment: '创建者uid 创建者必然是用户，不随应用转让而改变',
		},
		{
			type: 'number',
			key: 'owner_type',
			comment: '所有者类型 1:个人 2:企业',
			default: 1,
		},
		{
			type: 'string',
			key: 'owner_id',
			comment: '应用当前归属者的id，user_id or enterprise_id',
		},
		{
			type: 'array',
			key: 'managers',
			comment: '应用管理员ID列表',
		},
		{
			type: 'array',
			key: 'members',
			comment: '团队成员ID列表',
		},
		{
			type: 'string',
			key: 'icon_url',
			comment: '应用图标链接',
		},
		{
			type: 'string',
			key: 'introduction',
			comment: '应用介绍',
		},
		{
			type: 'array',
			key: 'screenshot',
			comment: '应用截图',
		},
		{
			type: 'object',
			key: 'app_android',
			comment: '安卓应用信息',
		},
		{
			type: 'object',
			key: 'app_ios',
			comment: 'ios应用信息',
		},
		{
			type: 'object',
			key: 'mp_weixin',
			comment: '微信小程序信息',
		},
		{
			type: 'object',
			key: 'mp_alipay',
			comment: '支付宝小程序信息',
		},
		{
			type: 'object',
			key: 'mp_baidu',
			comment: '百度小程序信息',
		},
		{
			type: 'object',
			key: 'mp_toutiao',
			comment: '头条小程序信息',
		},
		{
			type: 'object',
			key: 'mp_qq',
			comment: 'qq小程序信息',
		},
		{
			type: 'object',
			key: 'mp_kuaishou',
			comment: '快手小程序信息',
		},
		{
			type: 'object',
			key: 'mp_lark',
			comment: '飞书小程序信息',
		},
		{
			type: 'object',
			key: 'mp_jd',
			comment: '京东小程序信息',
		},
		{
			type: 'object',
			key: 'mp_dingtalk',
			comment: '钉钉小程序信息',
		},
		{
			type: 'object',
			key: 'h5',
			comment: 'h5应用信息',
		},
		{
			type: 'object',
			key: 'quickapp',
			comment: '快应用信息',
		},
		{
			type: 'array',
			key: 'store_list',
			comment: '应用商店信息',
		},
		{
			type: 'number',
			key: 'create_date',
			comment: '创建时间',
		},
	],
};
